<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=seo_t(4,$proinfo->proname)?></title>
<meta name="keywords" content="<?=seo_k(4,vclass($classle,'|').'|'.vclass($areale,'|'));?>" />
<meta name="description" content="<?php
$desc = "【二手家具转让】".$proinfo->datedesc." ".vclass($areale,'-').",".vclass($classle,'-').",$proinfo->proname (Tel:$proinfo->onetel)";
echo seo_d(4,$desc);
?>"/>
<style type="text/css"><?php $this->load->view("/css/inc_index_css");?></style>
<script src="<?=$base_view?>/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="<?=$base_view?>/js/artDialog.min.js" type="text/javascript"></script>
<script src="<?=$base_view?>/js/Lazyload.js" type="text/javascript"></script>
<script src="<?=$base_view?>/js/inc.js" type="text/javascript"></script>
<script>
// 设置对话框全局默认配置
(function(){
    var d = art.dialog.defaults;
    
    // 按需加载要用到的皮肤，数组第一个为默认皮肤
    // 如果只使用默认皮肤，可以不填写skin
    d.skin = ['default', 'chrome', 'facebook', 'aero'];
    
    // 支持拖动
    d.drag = true;
    
    // 超过此面积大小的对话框使用替身拖动
    d.showTemp = 100000;
})();
</script>
<script type="text/javascript">
$(document).ready(function(){
/* 搜索框 */
	$("#k").blur( function () {
		if($("#k").val()=="")
		{
			$('#k').css({
						"background-image":"url(<?=$base_img?>/images/bhss.gif)",
						"background-position":"2px center",
						"background-repeat":"no-repeat",
						"border-color":"#ddd",
						"background-color":'#fff'
			});	
		}
		else
		{
			$('#k').css({"border-color":"#7AAF3B",background:'#eff5e9'});
		}
	 } ); 
	 
	$("#k").focus( function () {
		$('#k').css({"border-color":"#7AAF3B",background:'#eff5e9'});
	});
	$('#k').blur();  // 页面载入触发该事件
/* end 搜索框 */
	$('#doModify').click(function(){
		art.dialog({
			title:'请输入该信息的管理密码!',
			content: '您的管理密码是&nbsp;<span id="outshow" style="color:red"></span><br /><input id="userpwd" type="password" value="" /><br />',
			skin: 'chrome',
			icon: 'confirm',
			//width:'200',
			lock:true,
			yesFn: function(){
				$.ajax({
				   type: "POST",
				   url: "<?=$base_header?>/home/userchkpwd",
				   data: "proid=<?=$proid?>&pwd=" + $('#userpwd').val(),
				   success: function(msg){
					 if(msg == '0'){
						 $('#outshow').html("不正确！");
						 setTimeout('$("#outshow").html("")',800);
					 }
					 if(msg == '1'){
						 location.href='<?=$base_header?>/home/usermodify/<?=$proid?>';
					 }					 
				   }
				   
				}); 
			return false;
			}
		});
	});// end click
	
	$('#doDown').click(function(){
		art.dialog({
			title:'请输入该信息的管理密码!',
			content: '您的管理密码是&nbsp;<span id="outshow" style="color:red"></span><br /><input id="userpwd" type="password" value="" /><br />',
			skin: 'chrome',
			icon: 'confirm',
			//width:'200',
			lock:true,
			yesFn: function(){
				$.ajax({
				   type: "POST",
				   url: "<?=$base_header?>/home/userchkpwd",
				   data: "proid=<?=$proid?>&pwd=" + $('#userpwd').val(),
				   success: function(msg){
					 if(msg == '0'){
						 $('#outshow').html("不正确！");
						 setTimeout('$("#outshow").html("")',800);
					 }
					 if(msg == '1'){
						 location.href='<?=$base_header?>/home/proDown/<?=$proid?>/<?php
						 if ($proinfo->prostate == 0) echo 1;
						 else echo 0;
						 ?>';
					 }					 
				   }
				   
				}); 
			return false;
			}
		});
	});// end click

	$('#doFresh').click(function(){
		art.dialog({
			title:'请输入该信息的管理密码!',
			content: '您的管理密码是&nbsp;<span id="outshow" style="color:red"></span><br /><input id="userpwd" type="password" value="" /><br />',
			skin: 'chrome',
			icon: 'confirm',
			//width:'200',
			lock:true,
			yesFn: function(){
				$.ajax({
				   type: "POST",
				   url: "<?=$base_header?>/home/userchkpwd",
				   data: "proid=<?=$proid?>&pwd=" + $('#userpwd').val(),
				   success: function(msg){
					 if(msg == '0'){
						 $('#outshow').html("不正确！");
						 setTimeout('$("#outshow").html("")',800);
					 }
					 if(msg == '1'){
						 location.href='<?=$base_header?>/home/proFresh/<?=$proid?>';
					 }					 
				   }
				   
				}); 
			return false;
			}
		});
	});// end click
});// end ready	
</script>
<style type="text/css">
/* totop*/
html{
_overflow:hidden;
}
  body{
	_height:100%;
	_overflow-y:auto;
	margin:0;
}

#gotopbtn{
	width:19px;
	height:26px;
	position:fixed;
	_position:absolute;
	right:25px;
	_right:43px; 
	bottom:55px;
	display:none;

}
/* end totop*/
.content {
	width:auto;
	padding:0 10px;
}

.conbody {
	margin-top:30px;
	
}



table.shopuser {
	margin:auto;
}
.desc {
	clear:both;
	line-height:23px;
	margin-top:20px;
	padding-top:10px;
	font-family:Arial,tahoma,"宋体","微软雅黑";
	font-size:14px;	
}
.desc p {
	margin:8px 0;
}

/* conbody_kuan-------------------------------------- */
.conbody_kuan {
	width:732px;
	overflow:hidden;
	margin:auto;
	
}

.shopusertitle {
	height:30px;
	line-height:30px;
	font-size:18px;
	font-weight:bold;
	clear:both;
	border-bottom:1px solid #000000;
	margin-bottom:20px;
	color:#000000;
}
.shopusertime {
	font-size:15px;
	height:22px;
	line-height:22px;
}
.modify {
	float:right;
	font-size:12px;
	font-weight:lighter;
}
.modify span
{
	cursor:pointer;
}
.modify a {
	font-size:12px;
	font-weight:lighter;
}
/* 用户资料 */
.userid {
	float:right;
	border:1px solid #E3E3E3;
	width:240px; 
	font-size:14px;
	height:auto;
	line-height:25px;
	padding:10px 10px;
	
}
/* /用户资料 */

/* /conbody_kuan------------------------------------------ */

.showpic {
	width:980px;
	height:auto;
}
.showpic li {
	width:355px;
	height:355px;
	overflow:hidden;
	border:1px solid #E3E3E3;
	margin-top:15px;
}

</style>
</head>

<body>
<div class="container">
	<?php $this->load->view('top_view');?>
<!--  content   -->
    <div class="content">
	<div style="width:780px; margin:auto;">
	<?php $this->load->view('inc_search_view');?>
	</div>
		<div style="clear:both;"></div>
		<div class="conbody">
		<table width="980" align="center" class="shopuser no" ><tr><td valign="top">
			<div class="conbody_kuan">
			<div class="shopusertitle" title=""><span class="modify">
			【<span id="doModify" >修改</span>】 
			<?php
			if ($proinfo->prostate == 1)
			echo '【<span class="font_2" id="doDown">上架</span>】';
			else
			echo '【<span  id="doDown">下架</span>】';
			?> 
			【<span id="doFresh">更新</span>】</span>
			<span title="<?=$proinfo->proname?>"><?=utf8_strcut($proinfo->proname,0,28) ?></span>
			<?php
			if ($proinfo->prostate == 1)
			echo '<span class="font_2">该商品已下架</span>';
			?>
			</div>
						<div class="userid" <?php
						if ($proinfo->prostate == 1) echo 'style="visibility:hidden;"';
						?>>
			<strong>联系方式</strong><br />
			联 系 人： <?=$proinfo->onecontact?><br /> 
			电    话：  <?=$proinfo->onetel?><br />
			QQ：<?php
			
			if($proinfo->oneqq != 405503525 && $proinfo->oneqq !='')
			{
				echo $proinfo->oneqq."&nbsp;<a href=\"tencent://message/?uin=". $proinfo->oneqq."&Site=家具369&Menu=yes\" alt=\"QQ咨询\"><img src=\"$base_img/images/jiaju369/qq07.jpg\" border=\"0\"></a>";
			}else{
				echo '&nbsp;暂无';
			}
	
			
			?><br />
			e-mail:<?php
			if($proinfo->oneemail !='405503525@qq.com') echo	$proinfo->oneemail;
			else echo '&nbsp;暂无';
			?><br />
			<span class="red">联系时请说明是在&quot;家具369&quot;看到的</span>

			
			</div>

			<div class="shopusertime">更新：<?=$proinfo->update?> 
发布： <?=$proinfo->adddate?><br />

家具类别：<?=vclass($classle,'&nbsp;&gt;&nbsp;')?>
<br />
所在地：　<?=vclass($areale,'&nbsp;&gt;&nbsp;')?>

<br />
　　　　　<span title="<?=$proinfo->address?>"><?=utf8_strcut($proinfo->address,0,26) ?></span><br />
几成新：　<?=$proinfo->news ?><br />
转让价：　<span class="Money">￥<?=$proinfo->price ?>.00元</span><br />


</div>
<div style="clear:both;height:30px; padding-top:30px; border-bottom:1px solid #000; color:#000; font-size:16px; font-weight:bold;">详细介绍</div>
			<div class="desc">
			<?=$proinfo->prodescription ?>
			<br />
			<span class="lazy">
		<?php
$arrpic = getarrp($proinfo->pic);

for($i = 0;$i+1 < count($arrpic);$i++):
?>	
	<img border="0" alt="<?=$proinfo->proname.'-图'.($i+1)?>" original="<?php if (empty($proinfo->picpath)) {echo $base_img1.imgurl($proinfo->probelong).'/'.$arrpic[$i];}else {echo $proinfo->picpath.$arrpic[$i];} ?>"  alt="" /><p>&nbsp;</p>

<?php
endfor;
?>
			</span>
			
<!-- JiaThis Button BEGIN -->
<div id="ckepop">
	<a href="http://www.jiathis.com/share/" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank">分享到：</a>
	<a class="jiathis_button_tqq">腾讯微博</a>
	<a class="jiathis_button_qzone">QQ空间</a>
	<a class="jiathis_button_tsina">新浪微博</a>
	<a class="jiathis_button_kaixin001">开心网</a>
	<a class="jiathis_button_renren">人人网</a>
</div>
<script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>
<!-- JiaThis Button END -->			
			
			</div></div></td><td width="225" valign="top" align="center">
					<?php //$this->load->view('inc_rightad_view');?>
			</td></tr></table>
		</div>
	</div>
	<!--  /content   -->
	<?php $this->load->view('footer_view');?>
</div>

<script type="text/javascript">
$(".lazy img").lazyload({
 placeholder: "<?=$base_img?>/images/o_loading.gif",
  effect:"fadeIn",
  rheight:720,
  rwidth:720
  
  }); 
</script>
<script type="text/javascript">

// 返回顶部
function totop(){
	var d =jQuery(window).scrollTop(); 
	 if(d >= 30)
	 {
	 	$("#gotopbtn").css({display:"block"});
	 }
	 else
	 {
	 	$("#gotopbtn").css({display:"none"});
	 }
}

//  滚动		 
if(isFirefox=navigator.userAgent.indexOf("Firefox")>0)
{
      window.onscroll=totop;
}
else
{
	document.body.onscroll	=totop;
}



function uptop()
{

	document.documentElement.scrollTop=0;  // ie6无效  ie7 FF有效
	document.body.scrollTop=0;//只有IE6有效
}
</script>
<div id="gotopbtn"><img onclick="uptop();" src="<?=$base_img?>/images/jiaju369/top4.gif" border="0" /></div>

</body>
</html>
